if [ ! -e "/lnmp/nginx/conf/conf.d/pet.conf" ]; then
  cp pet.online.conf /lnmp/nginx/conf/conf.d/pet.conf
  cd /lnmp
  docker-compose restart nginx
fi
cd /lnmp/nginx/www/pet
chmod 777 -R public
chmod 777 -R runtimes